package com.sdwz.user.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author testjava
 * @since 2021-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserInfo对象", description="用户表")
public class UserInfoVo implements Serializable {

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户头像")
    private String salt;


    @ApiModelProperty(value = "学号")
    private String stuNo;

    @ApiModelProperty(value = "学生姓名")
    private String stuName;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "学校")
    private String school;

    @ApiModelProperty(value = "班级")
    private String stuClass;

    @ApiModelProperty(value = "入学时间")
    private Date entranceTime;

    @ApiModelProperty(value = "状态(1:在校，0:离校)")
    private Integer stuStatus;

    @ApiModelProperty(value = "借阅id")
    private String cardId;

    @ApiModelProperty(value = "绑定证件类型")
    private String certificatesType;

    @ApiModelProperty(value = "证件路径")
    private String certificatesUrl;

    @ApiModelProperty(value = "认证状态（0：未认证 1：认证中 2：认证成功 -1：认证失败）")
    private Integer authStatus;

    @ApiModelProperty(value = "借阅数量")
    private Integer borrowNumber;

    @ApiModelProperty(value = "有效截止时间")
    private Date endTime;

    @ApiModelProperty(value = "状态（0：锁定 1：正常）")
    private Integer cardStatus;


}
